<?php
$this->breadcrumbs=array(
	'Coffee Shops'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List CoffeeShop', 'url'=>array('index')),
	array('label'=>'Create CoffeeShop', 'url'=>array('create')),
	array('label'=>'Update CoffeeShop', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete CoffeeShop', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure to delete this item?')),
	array('label'=>'Manage CoffeeShop', 'url'=>array('admin')),
);
?>

<h1>View CoffeeShop #<?php echo $model->id; ?></h1>
<?php if(Yii::app()->user->hasFlash('adminMessage')){ ?>

<div class="flash-success"><?php echo Yii::app()->user->getFlash('adminMessage'); ?>
</div>

<?php } ?>
<p><?php echo CHtml::link('Update', array('update', 'id'=>$model->id));?>   <?php echo CHtml::link('Manage Images',array('manageImages','id'=>$model->id));?></p>
<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'name',
		'street',
		'suburb',
		'city',
		'state',
		'postcode',
		'country',
		'beanRating',
		'latitude',
		'longitude',
		'review',
		'phone',
		'website',
		'email',
		'ownerName',
		array('name'=>'owner.username','label'=>'Owner Username'),
		'baristaNames',
		'coffeeBrand',
		'espressoMachine',
		'beansForSale:boolean',
		'internetAccess:boolean',
		'roastingOnSite:boolean',
'wifi:boolean',
'goodForBusiness:boolean',
		'volume',
		'timeUpdated',
		'day1Start',
		'day1End',
		'day2Start',
		'day2End',
		'day3Start',
		'day3End',
		'day4Start',
		'day4End',
		'day5Start',
		'day5End',
		'day6Start',
		'day6End',
		'day7Start',
		'day7End',
		//'status',
		'showWeb:boolean',
		'showIphone:boolean',
		'hotshot:boolean',
		'hotChocolate:boolean',
		'top100:boolean',
		'upgraded:boolean',
	),
)); ?>
